package com.zzptc.easyshop.dao;

import com.zzptc.easyshop.vo.VO;

import javax.persistence.SqlResultSetMapping;
import java.sql.SQLException;
import java.util.List;

public interface IDAO {
    //增删改查的方法
    boolean insert(VO vo) throws SQLException;

    boolean login(VO vo) throws SQLException;

    //获取所有
    List getAll() throws SQLException;

}
